const catchError = async (ctx, next) => {
    try {
        await next();
    } catch (error) {
        ctx.body = '服务器出现了点错误~'
    }
}

module.exports = catchError;
